package com.imooc.newretail.smartcabinet.service;

import com.imooc.newretail.smartcabinet.entity.IotSmartCabinet;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 智能柜信息表 服务类
 * </p>
 *
 * @author Hank
 * @since 2020-07-01
 */
public interface IIotSmartCabinetService extends IService<IotSmartCabinet> {

    /***
     * 激活设备
     * @param deviceId 设备ID
     * @param token 验证密匙
     * @return
     */
    boolean activate(String deviceId,String token);

}
